<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MTB CAT1 Peripheral driver library: SD Host Present Status</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.cypress.com/"><img alt="Logo" src="IFXCYP_one-line.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">MTB CAT1 Peripheral driver library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__group__sd__host__macros__present__status.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a>  </div>
  <div class="headertitle">
<div class="title">SD Host Present Status<div class="ingroups"><a class="el" href="group__group__sd__host.html">SD Host      (SD Host Controller)</a> &raquo; <a class="el" href="group__group__sd__host__macros.html">Macros</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">General Description</h2>
<p>The constants below can be used with the <a class="el" href="group__group__sd__host__low__level__functions.html#gaf3571becec1bbf64c3ba0fae36fe65fc">Cy_SD_Host_GetPresentState</a> function. </p>
<p>Each status is encoded in a separate bit, and therefore it is possible to notify about multiple statuses. </p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga3502deca6a9e801c0daafef9cd58ce13"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__present__status.html#ga3502deca6a9e801c0daafef9cd58ce13">CY_SD_HOST_CMD_INHIBIT</a>&#160;&#160;&#160;(0x00000001UL)</td></tr>
<tr class="memdesc:ga3502deca6a9e801c0daafef9cd58ce13"><td class="mdescLeft">&#160;</td><td class="mdescRight">Command Inhibit (CMD).  <a href="#ga3502deca6a9e801c0daafef9cd58ce13">More...</a><br /></td></tr>
<tr class="separator:ga3502deca6a9e801c0daafef9cd58ce13"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga25c80abade9676b2d58b1ed39ad274db"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__present__status.html#ga25c80abade9676b2d58b1ed39ad274db">CY_SD_HOST_CMD_CMD_INHIBIT_DAT</a>&#160;&#160;&#160;(0x00000002UL)</td></tr>
<tr class="memdesc:ga25c80abade9676b2d58b1ed39ad274db"><td class="mdescLeft">&#160;</td><td class="mdescRight">Command Inhibit (DAT).  <a href="#ga25c80abade9676b2d58b1ed39ad274db">More...</a><br /></td></tr>
<tr class="separator:ga25c80abade9676b2d58b1ed39ad274db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga675e230715288c4ac2f3102afdd19f66"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__present__status.html#ga675e230715288c4ac2f3102afdd19f66">CY_SD_HOST_DAT_LINE_ACTIVE</a>&#160;&#160;&#160;(0x00000004UL)</td></tr>
<tr class="memdesc:ga675e230715288c4ac2f3102afdd19f66"><td class="mdescLeft">&#160;</td><td class="mdescRight">DAT Line Active (SD/eMMC Mode only).  <a href="#ga675e230715288c4ac2f3102afdd19f66">More...</a><br /></td></tr>
<tr class="separator:ga675e230715288c4ac2f3102afdd19f66"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0cf2409ee9788f23a5c306de232d33ad"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__present__status.html#ga0cf2409ee9788f23a5c306de232d33ad">CY_SD_HOST_DAT_7_4</a>&#160;&#160;&#160;(0x000000F0UL)</td></tr>
<tr class="memdesc:ga0cf2409ee9788f23a5c306de232d33ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">DAT[7:4] Line Signal Level.  <a href="#ga0cf2409ee9788f23a5c306de232d33ad">More...</a><br /></td></tr>
<tr class="separator:ga0cf2409ee9788f23a5c306de232d33ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7e81b5493d485d5d9af5ebb0a229601a"><td class="memItemLeft" align="right" valign="top"><a id="ga7e81b5493d485d5d9af5ebb0a229601a"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__present__status.html#ga7e81b5493d485d5d9af5ebb0a229601a">CY_SD_HOST_WR_XFER_ACTIVE</a>&#160;&#160;&#160;(0x00000100UL)</td></tr>
<tr class="memdesc:ga7e81b5493d485d5d9af5ebb0a229601a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write Transfer Active This status indicates whether the Write transfer is active for SD/eMMC mode. <br /></td></tr>
<tr class="separator:ga7e81b5493d485d5d9af5ebb0a229601a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga97a9a3c7875fdde2cb41ae3f9e3422a5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__present__status.html#ga97a9a3c7875fdde2cb41ae3f9e3422a5">CY_SD_HOST_RD_XFER_ACTIVE</a>&#160;&#160;&#160;(0x00000200UL)</td></tr>
<tr class="memdesc:ga97a9a3c7875fdde2cb41ae3f9e3422a5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read Transfer Active.  <a href="#ga97a9a3c7875fdde2cb41ae3f9e3422a5">More...</a><br /></td></tr>
<tr class="separator:ga97a9a3c7875fdde2cb41ae3f9e3422a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3e993b7820020086178014429479844f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__present__status.html#ga3e993b7820020086178014429479844f">CY_SD_HOST_BUF_WR_ENABLE</a>&#160;&#160;&#160;(0x00000400UL)</td></tr>
<tr class="memdesc:ga3e993b7820020086178014429479844f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Buffer Write Enable.  <a href="#ga3e993b7820020086178014429479844f">More...</a><br /></td></tr>
<tr class="separator:ga3e993b7820020086178014429479844f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2893d5e349ed440d53ec080f386710dc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__present__status.html#ga2893d5e349ed440d53ec080f386710dc">CY_SD_HOST_BUF_RD_ENABLE</a>&#160;&#160;&#160;(0x00000800UL)</td></tr>
<tr class="memdesc:ga2893d5e349ed440d53ec080f386710dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Buffer Read Enable.  <a href="#ga2893d5e349ed440d53ec080f386710dc">More...</a><br /></td></tr>
<tr class="separator:ga2893d5e349ed440d53ec080f386710dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac196391cebf04b080cfcac137f2efe2f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__present__status.html#gac196391cebf04b080cfcac137f2efe2f">CY_SD_HOST_CARD_INSERTED</a>&#160;&#160;&#160;(0x00010000UL)</td></tr>
<tr class="memdesc:gac196391cebf04b080cfcac137f2efe2f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Card Inserted.  <a href="#gac196391cebf04b080cfcac137f2efe2f">More...</a><br /></td></tr>
<tr class="separator:gac196391cebf04b080cfcac137f2efe2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2007c68ce4395e2dfbf9685f5a9543ee"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__present__status.html#ga2007c68ce4395e2dfbf9685f5a9543ee">CY_SD_HOST_CARD_STABLE</a>&#160;&#160;&#160;(0x00020000UL)</td></tr>
<tr class="memdesc:ga2007c68ce4395e2dfbf9685f5a9543ee"><td class="mdescLeft">&#160;</td><td class="mdescRight">Card Stable.  <a href="#ga2007c68ce4395e2dfbf9685f5a9543ee">More...</a><br /></td></tr>
<tr class="separator:ga2007c68ce4395e2dfbf9685f5a9543ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga21d869a7c9492f88e9430bf656e788f3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__present__status.html#ga21d869a7c9492f88e9430bf656e788f3">CY_SD_HOST_CARD_DETECT_PIN_LEVEL</a>&#160;&#160;&#160;(0x00040000UL)</td></tr>
<tr class="memdesc:ga21d869a7c9492f88e9430bf656e788f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Card Detect Pin Level.  <a href="#ga21d869a7c9492f88e9430bf656e788f3">More...</a><br /></td></tr>
<tr class="separator:ga21d869a7c9492f88e9430bf656e788f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab6aae5e97e401d36dc4ba3c592dc2d43"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__present__status.html#gab6aae5e97e401d36dc4ba3c592dc2d43">CY_SD_HOST_WR_PROTECT_SW_LVL</a>&#160;&#160;&#160;(0x00080000UL)</td></tr>
<tr class="memdesc:gab6aae5e97e401d36dc4ba3c592dc2d43"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write Protect Switch Pin Level.  <a href="#gab6aae5e97e401d36dc4ba3c592dc2d43">More...</a><br /></td></tr>
<tr class="separator:gab6aae5e97e401d36dc4ba3c592dc2d43"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0a3a89bbd8f8ec28159d675928bd345a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__present__status.html#ga0a3a89bbd8f8ec28159d675928bd345a">CY_SD_HOST_DAT_3_0</a>&#160;&#160;&#160;(0x00F00000UL)</td></tr>
<tr class="memdesc:ga0a3a89bbd8f8ec28159d675928bd345a"><td class="mdescLeft">&#160;</td><td class="mdescRight">DAT[3:0] Line Signal Level.  <a href="#ga0a3a89bbd8f8ec28159d675928bd345a">More...</a><br /></td></tr>
<tr class="separator:ga0a3a89bbd8f8ec28159d675928bd345a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga76efbc8545e77fb3e9597e2e2c7ff287"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__present__status.html#ga76efbc8545e77fb3e9597e2e2c7ff287">CY_SD_HOST_DAT_0_Msk</a>&#160;&#160;&#160;(0x00100000UL)</td></tr>
<tr class="memdesc:ga76efbc8545e77fb3e9597e2e2c7ff287"><td class="mdescLeft">&#160;</td><td class="mdescRight">DAT[0] Line Signal Level.  <a href="#ga76efbc8545e77fb3e9597e2e2c7ff287">More...</a><br /></td></tr>
<tr class="separator:ga76efbc8545e77fb3e9597e2e2c7ff287"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8a9fbdbfc4567abf546aeccdc126628c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__present__status.html#ga8a9fbdbfc4567abf546aeccdc126628c">CY_SD_HOST_CMD_LINE_LVL</a>&#160;&#160;&#160;(0x01000000UL)</td></tr>
<tr class="memdesc:ga8a9fbdbfc4567abf546aeccdc126628c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Command-Line Signal Level.  <a href="#ga8a9fbdbfc4567abf546aeccdc126628c">More...</a><br /></td></tr>
<tr class="separator:ga8a9fbdbfc4567abf546aeccdc126628c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa0f39190ba3853c61ac3756fc2e01f19"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__present__status.html#gaa0f39190ba3853c61ac3756fc2e01f19">CY_SD_HOST_HOST_REG_VOL</a>&#160;&#160;&#160;(0x02000000UL)</td></tr>
<tr class="memdesc:gaa0f39190ba3853c61ac3756fc2e01f19"><td class="mdescLeft">&#160;</td><td class="mdescRight">Host Regulator Voltage Stable.  <a href="#gaa0f39190ba3853c61ac3756fc2e01f19">More...</a><br /></td></tr>
<tr class="separator:gaa0f39190ba3853c61ac3756fc2e01f19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4430687403739f8df2470e3d88ab281d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__present__status.html#ga4430687403739f8df2470e3d88ab281d">CY_SD_HOST_CMD_ISSU_ERR</a>&#160;&#160;&#160;(0x08000000UL)</td></tr>
<tr class="memdesc:ga4430687403739f8df2470e3d88ab281d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Command Not Issued by Error.  <a href="#ga4430687403739f8df2470e3d88ab281d">More...</a><br /></td></tr>
<tr class="separator:ga4430687403739f8df2470e3d88ab281d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8708cb7a0a0906689b52a6b0a6f024a2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__present__status.html#ga8708cb7a0a0906689b52a6b0a6f024a2">CY_SD_HOST_SUB_CMD_STAT</a>&#160;&#160;&#160;(0x10000000UL)</td></tr>
<tr class="memdesc:ga8708cb7a0a0906689b52a6b0a6f024a2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sub Command Status.  <a href="#ga8708cb7a0a0906689b52a6b0a6f024a2">More...</a><br /></td></tr>
<tr class="separator:ga8708cb7a0a0906689b52a6b0a6f024a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa652f1cdd77a15fd9a89f625146bdc07"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__present__status.html#gaa652f1cdd77a15fd9a89f625146bdc07">CY_SD_HOST_IN_DORMANT_ST</a>&#160;&#160;&#160;(0x20000000UL)</td></tr>
<tr class="memdesc:gaa652f1cdd77a15fd9a89f625146bdc07"><td class="mdescLeft">&#160;</td><td class="mdescRight">In Dormant Status.  <a href="#gaa652f1cdd77a15fd9a89f625146bdc07">More...</a><br /></td></tr>
<tr class="separator:gaa652f1cdd77a15fd9a89f625146bdc07"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0ab4771c3948f4adf4c0e8a0fc1d5d22"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__present__status.html#ga0ab4771c3948f4adf4c0e8a0fc1d5d22">CY_SD_HOST_LANE_SYNC</a>&#160;&#160;&#160;(0x40000000UL)</td></tr>
<tr class="memdesc:ga0ab4771c3948f4adf4c0e8a0fc1d5d22"><td class="mdescLeft">&#160;</td><td class="mdescRight">Lane Synchronization.  <a href="#ga0ab4771c3948f4adf4c0e8a0fc1d5d22">More...</a><br /></td></tr>
<tr class="separator:ga0ab4771c3948f4adf4c0e8a0fc1d5d22"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4d7218244626403b4eb31589dad97593"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__present__status.html#ga4d7218244626403b4eb31589dad97593">CY_SD_HOST_UHS2_IF_DETECT</a>&#160;&#160;&#160;(0x80000000UL)</td></tr>
<tr class="memdesc:ga4d7218244626403b4eb31589dad97593"><td class="mdescLeft">&#160;</td><td class="mdescRight">UHS-II Interface Detection.  <a href="#ga4d7218244626403b4eb31589dad97593">More...</a><br /></td></tr>
<tr class="separator:ga4d7218244626403b4eb31589dad97593"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="ga3502deca6a9e801c0daafef9cd58ce13"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3502deca6a9e801c0daafef9cd58ce13">&#9670;&nbsp;</a></span>CY_SD_HOST_CMD_INHIBIT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_CMD_INHIBIT&#160;&#160;&#160;(0x00000001UL)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Command Inhibit (CMD). </p>
<p>This bit indicates the following:</p><ul>
<li>SD/eMMC mode: If this bit is set to 0, it indicates that the CMD line is not in use and the Host controller can issue an SD/eMMC command using the CMD line. This bit is set when the command register is written. This bit is cleared when the command response is received. This bit is not cleared by the response of auto CMD12/23 but cleared by the response of the Read/Write command. </li>
</ul>

</div>
</div>
<a id="ga25c80abade9676b2d58b1ed39ad274db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga25c80abade9676b2d58b1ed39ad274db">&#9670;&nbsp;</a></span>CY_SD_HOST_CMD_CMD_INHIBIT_DAT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_CMD_CMD_INHIBIT_DAT&#160;&#160;&#160;(0x00000002UL)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Command Inhibit (DAT). </p>
<p>This bit is applicable for SD/eMMC mode and is generated if either the DAT line active or Read transfer active is set to 1. If this bit is set to 0, it indicates that the Host Controller can issue subsequent SD/eMMC commands. </p>

</div>
</div>
<a id="ga675e230715288c4ac2f3102afdd19f66"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga675e230715288c4ac2f3102afdd19f66">&#9670;&nbsp;</a></span>CY_SD_HOST_DAT_LINE_ACTIVE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_DAT_LINE_ACTIVE&#160;&#160;&#160;(0x00000004UL)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>DAT Line Active (SD/eMMC Mode only). </p>
<p>This bit indicates whether one of the DAT lines on the SD/eMMC bus is in use. For Read transactions, this bit indicates whether a read transfer is executing on the SD/eMMC bus. For Write transactions, this bit indicates whether a write transfer is executing on the SD/eMMC bus. For a command with the Busy status, this status indicates whether the command executing busy is executing on an SD or eMMC bus. </p>

</div>
</div>
<a id="ga0cf2409ee9788f23a5c306de232d33ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0cf2409ee9788f23a5c306de232d33ad">&#9670;&nbsp;</a></span>CY_SD_HOST_DAT_7_4</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_DAT_7_4&#160;&#160;&#160;(0x000000F0UL)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>DAT[7:4] Line Signal Level. </p>
<p>These bits are used to check the DAT line level to recover from errors and for debugging. These bits reflect the value of the sd_dat_in (upper nibble) signal. </p>

</div>
</div>
<a id="ga97a9a3c7875fdde2cb41ae3f9e3422a5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga97a9a3c7875fdde2cb41ae3f9e3422a5">&#9670;&nbsp;</a></span>CY_SD_HOST_RD_XFER_ACTIVE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_RD_XFER_ACTIVE&#160;&#160;&#160;(0x00000200UL)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Read Transfer Active. </p>
<p>This bit indicates whether the Read transfer is active for SD/eMMC mode. </p>

</div>
</div>
<a id="ga3e993b7820020086178014429479844f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3e993b7820020086178014429479844f">&#9670;&nbsp;</a></span>CY_SD_HOST_BUF_WR_ENABLE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_BUF_WR_ENABLE&#160;&#160;&#160;(0x00000400UL)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Buffer Write Enable. </p>
<p>This bit is used for non-DMA transfers. This bit is set if space is available for writing data. </p>

</div>
</div>
<a id="ga2893d5e349ed440d53ec080f386710dc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2893d5e349ed440d53ec080f386710dc">&#9670;&nbsp;</a></span>CY_SD_HOST_BUF_RD_ENABLE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_BUF_RD_ENABLE&#160;&#160;&#160;(0x00000800UL)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Buffer Read Enable. </p>
<p>This bit is used for non-DMA transfers. This bit is set if valid data exists in the Host buffer. </p>

</div>
</div>
<a id="gac196391cebf04b080cfcac137f2efe2f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac196391cebf04b080cfcac137f2efe2f">&#9670;&nbsp;</a></span>CY_SD_HOST_CARD_INSERTED</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_CARD_INSERTED&#160;&#160;&#160;(0x00010000UL)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Card Inserted. </p>
<p>This bit indicates whether a card has been inserted. The Host Controller debounces this signal so that the Host Driver does not need to wait for the signal to stabilize. </p>

</div>
</div>
<a id="ga2007c68ce4395e2dfbf9685f5a9543ee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2007c68ce4395e2dfbf9685f5a9543ee">&#9670;&nbsp;</a></span>CY_SD_HOST_CARD_STABLE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_CARD_STABLE&#160;&#160;&#160;(0x00020000UL)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Card Stable. </p>
<p>This bit indicates the stability of the Card Detect Pin Level. A card is not detected if this bit is set to 1 and the value of the CARD_INSERTED bit is 0. </p>

</div>
</div>
<a id="ga21d869a7c9492f88e9430bf656e788f3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga21d869a7c9492f88e9430bf656e788f3">&#9670;&nbsp;</a></span>CY_SD_HOST_CARD_DETECT_PIN_LEVEL</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_CARD_DETECT_PIN_LEVEL&#160;&#160;&#160;(0x00040000UL)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Card Detect Pin Level. </p>
<p>This bit reflects the inverse synchronized value of the card_detect_n signal. </p>

</div>
</div>
<a id="gab6aae5e97e401d36dc4ba3c592dc2d43"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab6aae5e97e401d36dc4ba3c592dc2d43">&#9670;&nbsp;</a></span>CY_SD_HOST_WR_PROTECT_SW_LVL</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_WR_PROTECT_SW_LVL&#160;&#160;&#160;(0x00080000UL)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Write Protect Switch Pin Level. </p>
<p>This bit is supported only for memory and combo cards. This bit reflects the synchronized value of the card_write_prot signal. </p>

</div>
</div>
<a id="ga0a3a89bbd8f8ec28159d675928bd345a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0a3a89bbd8f8ec28159d675928bd345a">&#9670;&nbsp;</a></span>CY_SD_HOST_DAT_3_0</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_DAT_3_0&#160;&#160;&#160;(0x00F00000UL)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>DAT[3:0] Line Signal Level. </p>
<p>This bit is used to check the DAT line level to recover from errors and for debugging. These bits reflect the value of the sd_dat_in (lower nibble) signal. </p>

</div>
</div>
<a id="ga76efbc8545e77fb3e9597e2e2c7ff287"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga76efbc8545e77fb3e9597e2e2c7ff287">&#9670;&nbsp;</a></span>CY_SD_HOST_DAT_0_Msk</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_DAT_0_Msk&#160;&#160;&#160;(0x00100000UL)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>DAT[0] Line Signal Level. </p>
<p>This bit is used to check the DAT0 line level to check R1b response. This bit reflects the value of the sd_dat_in[0] signal. </p>

</div>
</div>
<a id="ga8a9fbdbfc4567abf546aeccdc126628c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8a9fbdbfc4567abf546aeccdc126628c">&#9670;&nbsp;</a></span>CY_SD_HOST_CMD_LINE_LVL</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_CMD_LINE_LVL&#160;&#160;&#160;(0x01000000UL)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Command-Line Signal Level. </p>
<p>This bit is used to check the CMD line level to recover from errors and for debugging. These bits reflect the value of the sd_cmd_in signal. </p>

</div>
</div>
<a id="gaa0f39190ba3853c61ac3756fc2e01f19"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa0f39190ba3853c61ac3756fc2e01f19">&#9670;&nbsp;</a></span>CY_SD_HOST_HOST_REG_VOL</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_HOST_REG_VOL&#160;&#160;&#160;(0x02000000UL)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Host Regulator Voltage Stable. </p>
<p>This bit is used to check whether the host regulator voltage is stable for switching the voltage of UHS-I mode. This bit reflects the synchronized value of the host_reg_vol_stable signal. </p>

</div>
</div>
<a id="ga4430687403739f8df2470e3d88ab281d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4430687403739f8df2470e3d88ab281d">&#9670;&nbsp;</a></span>CY_SD_HOST_CMD_ISSU_ERR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_CMD_ISSU_ERR&#160;&#160;&#160;(0x08000000UL)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Command Not Issued by Error. </p>
<p>This bit is set if a command cannot be issued after setting the command register due to an error except an Auto CMD12 error. </p>

</div>
</div>
<a id="ga8708cb7a0a0906689b52a6b0a6f024a2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8708cb7a0a0906689b52a6b0a6f024a2">&#9670;&nbsp;</a></span>CY_SD_HOST_SUB_CMD_STAT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_SUB_CMD_STAT&#160;&#160;&#160;(0x10000000UL)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sub Command Status. </p>
<p>This bit is used to distinguish between a main command and a sub command status. </p>

</div>
</div>
<a id="gaa652f1cdd77a15fd9a89f625146bdc07"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa652f1cdd77a15fd9a89f625146bdc07">&#9670;&nbsp;</a></span>CY_SD_HOST_IN_DORMANT_ST</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_IN_DORMANT_ST&#160;&#160;&#160;(0x20000000UL)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>In Dormant Status. </p>
<p>This bit indicates whether UHS-II lanes enter the Dormant state in the UHS-II mode. For SD/eMMC mode, this bit always returns 0. </p>

</div>
</div>
<a id="ga0ab4771c3948f4adf4c0e8a0fc1d5d22"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0ab4771c3948f4adf4c0e8a0fc1d5d22">&#9670;&nbsp;</a></span>CY_SD_HOST_LANE_SYNC</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_LANE_SYNC&#160;&#160;&#160;(0x40000000UL)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Lane Synchronization. </p>
<p>This bit indicates whether a lane is synchronized in UHSII mode. For SD/eMMC mode, this bit always returns 0. </p>

</div>
</div>
<a id="ga4d7218244626403b4eb31589dad97593"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4d7218244626403b4eb31589dad97593">&#9670;&nbsp;</a></span>CY_SD_HOST_UHS2_IF_DETECT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_UHS2_IF_DETECT&#160;&#160;&#160;(0x80000000UL)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>UHS-II Interface Detection. </p>
<p>This bit indicates whether a card supports the UHS-II interface. For SD/eMMC mode, this bit always returns 0. </p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part
<div id="nav-path" class="navpath">
    <ul>
        <li class="footer">
            Generated for <b>MTB CAT1 Peripheral driver library</b> by <b>Cypress Semiconductor Corporation</b>.
            All rights reserved.
        </li>
    </ul>
</div>
-->
</body>
</html>
